package com.frame.app.core.demo.model;

import com.frame.common.db.MyBatisModel;

import com.frame.app.core.demo.mybatis.DemoClassroomMapper;

/**
 * demo_classroom's model.
 *
 * @author <a href="mailto:chenxilongno1@163.com">chen</a>
 * 
 * @version 1.0
 * 
 * @since 2015-06-02 16:44:29
 */
public class DemoClassroom extends MyBatisModel<DemoClassroom,DemoClassroomMapper>{

private static final long serialVersionUID = 1L;

public DemoClassroom() {
	setMapperClass(DemoClassroomMapper.class);
}

	//
	private int id;
	//
	private String name;

	public int getId() {
    	return this.id;
    }
    
	public void setId(int id) {
    	this.id = id;
    }   
	public String getName() {
    	return this.name;
    }
    
	public void setName(String name) {
    	this.name = name;
    }   
	@Override
	public String toString() {
		return     id   +"---"+   name ;
	}

}